CommonsBooking\Plugin B

Total Complexity 85
Dependencies 26
Dependents 13
Total lines 775
Lines of code 464
Logical lines of code 194
Comment lines 205
Methods 36
Properties 1

Methods 36

Method Rating Maintainability Complexity Lines of code
setParentFile()
S
54 7 21
addMenuPages()
S
44 4 50
getTheContent()
S
62 6 11
removeDeprecatedUserRoles()
S
52 5 25
addRoleCaps()
S
50 4 29
addCustomUserRoles()
S
59 4 15
UpdateNotice()
S
51 2 36
initRoutes()
S
55 3 20
renderError()
S
57 3 18
updateLocationCoordinates()
S
66 4 8
runTasksAfterUpdate()
S
59 3 14
registerItemTaxonomy()
S
58 2 16
registerLocationTaxonomy()
S
58 2 16
AddImageSizes()
S
60 2 15
addCPTRoleCaps()
S
70 3 6
init()
S
52 1 23
registerAdminOptions()
S
69 2 6
setCacheItem()
S
67 2 7
savePostActions()
S
71 2 6
commonsbooking_load_textdomain()
S
64 2 9
admin_init()
S
67 2 8
getCacheItem()
S
71 2 6
maybeEnableCB1UserFields()
S
70 2 6
getCacheId()
S
63 2 10
registerPostStates()
S
72 2 5
registerCustomPostTypes()
S
68 2 7
getRoleCapMapping()
S
62 1 13
saveOptionsActions()
S
79 1 3
getCustomPostTypes()
S
64 1 10
deletePostActions()
S
73 1 5
getCustomPostTypesLabels()
S
64 1 10
getCBManagerCustomPostTypes()
S
66 1 9
initBookingcodes()
S
74 1 4
activation()
S
74 1 5
registerUserWidget()
S
81 1 3
clearCache()
S
66 1 9